﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Web.View.d01_tjxxMenu.Default" %>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>d01_tjxx</title>
    <script src="/View/js/Alert.js" type="text/javascript"></script> 
    <script type="text/javascript">
        function SetWinData(index) {
            document.getElementById("Hid").value = d01_tjxx_MainStore.getAt(index).get('grbm');
            
			Txtdzbm.setValue(d01_tjxx_MainStore.getAt(index).get('dzbm'));
			Txthbh.setValue(d01_tjxx_MainStore.getAt(index).get('hbh'));
			Txtbrxm.setValue(d01_tjxx_MainStore.getAt(index).get('brxm'));
			Txtsfzh.setValue(d01_tjxx_MainStore.getAt(index).get('sfzh'));
			Txtylzh.setValue(d01_tjxx_MainStore.getAt(index).get('ylzh'));
			Txtbrxb.setValue(d01_tjxx_MainStore.getAt(index).get('brxb'));
			Txtbrnl.setValue(d01_tjxx_MainStore.getAt(index).get('brnl'));
			Txtcsrq.setValue(d01_tjxx_MainStore.getAt(index).get('csrq'));
			Txthyzk.setValue(d01_tjxx_MainStore.getAt(index).get('hyzk'));
			Txtmz.setValue(d01_tjxx_MainStore.getAt(index).get('mz'));
			Txtcsd.setValue(d01_tjxx_MainStore.getAt(index).get('csd'));
			Txtszdq.setValue(d01_tjxx_MainStore.getAt(index).get('szdq'));
			Txtjkzk.setValue(d01_tjxx_MainStore.getAt(index).get('jkzk'));
			Txtgzdw.setValue(d01_tjxx_MainStore.getAt(index).get('gzdw'));
			Txtzy.setValue(d01_tjxx_MainStore.getAt(index).get('zy'));
			Txtchsj.setValue(d01_tjxx_MainStore.getAt(index).get('chsj'));
			Txtmzyl.setValue(d01_tjxx_MainStore.getAt(index).get('mzyl'));
			Txtzzbm.setValue(d01_tjxx_MainStore.getAt(index).get('zzbm'));
			Txtzycs.setValue(d01_tjxx_MainStore.getAt(index).get('zycs'));
			Txtmblx1.setValue(d01_tjxx_MainStore.getAt(index).get('mblx1'));
			Txtmblx2.setValue(d01_tjxx_MainStore.getAt(index).get('mblx2'));
			Txtgrs.setValue(d01_tjxx_MainStore.getAt(index).get('grs'));
			Txtdqzt.setValue(d01_tjxx_MainStore.getAt(index).get('dqzt'));
			Txtrcbz.setValue(d01_tjxx_MainStore.getAt(index).get('rcbz'));
			Txtrcsj.setValue(d01_tjxx_MainStore.getAt(index).get('rcsj'));
			Txtrqyy.setValue(d01_tjxx_MainStore.getAt(index).get('rqyy'));
			Txtsj.setValue(d01_tjxx_MainStore.getAt(index).get('sj'));
			Txtwhcd.setValue(d01_tjxx_MainStore.getAt(index).get('whcd'));
			Txtear.setValue(d01_tjxx_MainStore.getAt(index).get('ear'));
			Txtearleft.setValue(d01_tjxx_MainStore.getAt(index).get('earleft'));
			Txtearright.setValue(d01_tjxx_MainStore.getAt(index).get('earright'));
			Txtnk.setValue(d01_tjxx_MainStore.getAt(index).get('nk'));
			Txtxy.setValue(d01_tjxx_MainStore.getAt(index).get('xy'));
			Txtwk.setValue(d01_tjxx_MainStore.getAt(index).get('wk'));
			Txtsg.setValue(d01_tjxx_MainStore.getAt(index).get('sg'));
			Txttz.setValue(d01_tjxx_MainStore.getAt(index).get('tz'));
			Txtxt.setValue(d01_tjxx_MainStore.getAt(index).get('xt'));
			Txtepk.setValue(d01_tjxx_MainStore.getAt(index).get('epk'));
			Txtkqk.setValue(d01_tjxx_MainStore.getAt(index).get('kqk'));
			Txtxbts.setValue(d01_tjxx_MainStore.getAt(index).get('xbts'));
			Txtbc.setValue(d01_tjxx_MainStore.getAt(index).get('bc'));
			Txtxdt.setValue(d01_tjxx_MainStore.getAt(index).get('xdt'));
			Txtxs.setValue(d01_tjxx_MainStore.getAt(index).get('xs'));
			Txtxh.setValue(d01_tjxx_MainStore.getAt(index).get('xh'));
			Txtqt.setValue(d01_tjxx_MainStore.getAt(index).get('qt'));
			Txtjl.setValue(d01_tjxx_MainStore.getAt(index).get('jl'));

            d01_tjxx_Win.show();
        }
    </script>
</head>
<body>
    <form id="MainForm" runat="server">
    <ext:ResourceManager ID="MainResourceMgr" runat="server" />
    <!--用来导出到Excel的数据源-->
    <ext:Hidden ID="ExcelGridData" runat="server" />
    <!--d01_tjxx表页面主数据元，自动生成-->
    <ext:Store runat="server" ID="d01_tjxx_MainStore" OnRefreshData="d01_tjxx_DataBind" AutoLoad="true">
        <Proxy>
            <ext:PageProxy />
        </Proxy>
        <Reader>
            <ext:JsonReader IDProperty="grbm">
                <Fields>
                    
					<ext:RecordField Name="grbm" />
					<ext:RecordField Name="dzbm" />
					<ext:RecordField Name="hbh" />
					<ext:RecordField Name="brxm" />
					<ext:RecordField Name="sfzh" />
					<ext:RecordField Name="ylzh" />
					<ext:RecordField Name="brxb" />
					<ext:RecordField Name="brnl" />
					<ext:RecordField Name="csrq" />
					<ext:RecordField Name="hyzk" />
					<ext:RecordField Name="mz" />
					<ext:RecordField Name="csd" />
					<ext:RecordField Name="szdq" />
					<ext:RecordField Name="jkzk" />
					<ext:RecordField Name="gzdw" />
					<ext:RecordField Name="zy" />
					<ext:RecordField Name="chsj" />
					<ext:RecordField Name="mzyl" />
					<ext:RecordField Name="zzbm" />
					<ext:RecordField Name="zycs" />
					<ext:RecordField Name="mblx1" />
					<ext:RecordField Name="mblx2" />
					<ext:RecordField Name="grs" />
					<ext:RecordField Name="dqzt" />
					<ext:RecordField Name="rcbz" />
					<ext:RecordField Name="rcsj" />
					<ext:RecordField Name="rqyy" />
					<ext:RecordField Name="sj" />
					<ext:RecordField Name="whcd" />
					<ext:RecordField Name="ear" />
					<ext:RecordField Name="earleft" />
					<ext:RecordField Name="earright" />
					<ext:RecordField Name="nk" />
					<ext:RecordField Name="xy" />
					<ext:RecordField Name="wk" />
					<ext:RecordField Name="sg" />
					<ext:RecordField Name="tz" />
					<ext:RecordField Name="xt" />
					<ext:RecordField Name="epk" />
					<ext:RecordField Name="kqk" />
					<ext:RecordField Name="xbts" />
					<ext:RecordField Name="bc" />
					<ext:RecordField Name="xdt" />
					<ext:RecordField Name="xs" />
					<ext:RecordField Name="xh" />
					<ext:RecordField Name="qt" />
					<ext:RecordField Name="jl" />

                </Fields>
            </ext:JsonReader>
        </Reader> 
        <BaseParams>
            <ext:Parameter Name="start" Value="0" Mode="Raw">
            </ext:Parameter>
            <ext:Parameter Name="limit" Value="15" Mode="Raw">
            </ext:Parameter>
        </BaseParams>
    </ext:Store>
    <!--d01_tjxx页面主表格-->
    <ext:Viewport ID="MainViewPort" runat="server">
        <Items>
            <ext:FitLayout>
                <Items>
                    <ext:GridPanel ID="d01_tjxx_Grid" Layout="fit" TrackMouseOver="true" runat="server" StoreID="d01_tjxx_MainStore"
                        StripeRows="true" Header="false" Border="false" Collapsible="true">
                        <TopBar>
                            <ext:Toolbar ID="MainToolBar" runat="server">
                                <Items>
                                    <ext:Button ID="BtnAdd" runat="server" Text="添加" Icon="Add">
                                        <Listeners>
                                            <Click Handler="#{d01_tjxx_MainForm}.getForm().reset();#{Hid}.setValue('');#{d01_tjxx_Win}.show();" />
                                        </Listeners>
                                    </ext:Button>
                                    <ext:Button ID="BtnDel" runat="server" Text="删除" Icon="Delete">
                                        <DirectEvents>
                                            <Click OnEvent="BtnDel_Click">
                                                <Confirmation ConfirmRequest="true" Title="确认" Message="确实要删除吗?" />
                                                <EventMask ShowMask="true" Msg="正在删除数据，请等候 ..." />
                                            </Click>
                                        </DirectEvents>
                                        <Listeners>
                                            <Click Handler="if(#{d01_tjxx_Grid}.getSelectionModel().getCount()<=0) {TellAlert('请选择要删除的记录');return false;}" />
                                        </Listeners>
                                    </ext:Button>
                                    <ext:ToolbarSeparator />
                                    <ext:Button ID="BtnReload" runat="server" Text="重新加载" Icon="Reload">
                                        <Listeners>
                                            <Click Handler="#{d01_tjxx_MainStore}.reload();" />
                                        </Listeners>
                                    </ext:Button>
                                    <ext:ToolbarFill />
                                    <ext:Button ID="BtnToExcel" runat="server" Text="To Excel" AutoPostBack="true" OnClick="BtnSaveToExcel"
                                        Icon="PageExcel">
                                        <Listeners>
                                            <Click Handler="#{ExcelGridData}.setValue(Ext.encode(d01_tjxx_Grid.getRowsValues(false)));" />
                                        </Listeners>
                                        <ToolTips>
                                            <ext:ToolTip Title="将当前页内容存储为Excel文件">
                                            </ext:ToolTip>
                                        </ToolTips>
                                    </ext:Button>
                                </Items>
                            </ext:Toolbar>
                        </TopBar>
                        <ColumnModel ID="d01_tjxx_ColumnMode" runat="server">
                            <Columns>
                                <ext:RowNumbererColumn Width="20" />
                                <ext:Column Header="主键" Sortable="true" Hidden="true" DataIndex="grbm" />
                                
								<ext:Column Header="dzbm" Sortable="true" DataIndex="dzbm" />
								<ext:Column Header="hbh" Sortable="true" DataIndex="hbh" />
								<ext:Column Header="brxm" Sortable="true" DataIndex="brxm" />
								<ext:Column Header="sfzh" Sortable="true" DataIndex="sfzh" />
								<ext:Column Header="ylzh" Sortable="true" DataIndex="ylzh" />
								<ext:Column Header="brxb" Sortable="true" DataIndex="brxb" />
								<ext:Column Header="brnl" Sortable="true" DataIndex="brnl" />
								<ext:Column Header="csrq" Sortable="true" DataIndex="csrq" />
								<ext:Column Header="hyzk" Sortable="true" DataIndex="hyzk" />
								<ext:Column Header="mz" Sortable="true" DataIndex="mz" />
								<ext:Column Header="csd" Sortable="true" DataIndex="csd" />
								<ext:Column Header="szdq" Sortable="true" DataIndex="szdq" />
								<ext:Column Header="jkzk" Sortable="true" DataIndex="jkzk" />
								<ext:Column Header="gzdw" Sortable="true" DataIndex="gzdw" />
								<ext:Column Header="zy" Sortable="true" DataIndex="zy" />
								<ext:Column Header="chsj" Sortable="true" DataIndex="chsj" />
								<ext:Column Header="mzyl" Sortable="true" DataIndex="mzyl" />
								<ext:Column Header="zzbm" Sortable="true" DataIndex="zzbm" />
								<ext:Column Header="zycs" Sortable="true" DataIndex="zycs" />
								<ext:Column Header="mblx1" Sortable="true" DataIndex="mblx1" />
								<ext:Column Header="mblx2" Sortable="true" DataIndex="mblx2" />
								<ext:Column Header="grs" Sortable="true" DataIndex="grs" />
								<ext:Column Header="dqzt" Sortable="true" DataIndex="dqzt" />
								<ext:Column Header="rcbz" Sortable="true" DataIndex="rcbz" />
								<ext:Column Header="rcsj" Sortable="true" DataIndex="rcsj" />
								<ext:Column Header="rqyy" Sortable="true" DataIndex="rqyy" />
								<ext:Column Header="sj" Sortable="true" DataIndex="sj" />
								<ext:Column Header="whcd" Sortable="true" DataIndex="whcd" />
								<ext:Column Header="ear" Sortable="true" DataIndex="ear" />
								<ext:Column Header="earleft" Sortable="true" DataIndex="earleft" />
								<ext:Column Header="earright" Sortable="true" DataIndex="earright" />
								<ext:Column Header="nk" Sortable="true" DataIndex="nk" />
								<ext:Column Header="xy" Sortable="true" DataIndex="xy" />
								<ext:Column Header="wk" Sortable="true" DataIndex="wk" />
								<ext:Column Header="sg" Sortable="true" DataIndex="sg" />
								<ext:Column Header="tz" Sortable="true" DataIndex="tz" />
								<ext:Column Header="xt" Sortable="true" DataIndex="xt" />
								<ext:Column Header="epk" Sortable="true" DataIndex="epk" />
								<ext:Column Header="kqk" Sortable="true" DataIndex="kqk" />
								<ext:Column Header="xbts" Sortable="true" DataIndex="xbts" />
								<ext:Column Header="bc" Sortable="true" DataIndex="bc" />
								<ext:Column Header="xdt" Sortable="true" DataIndex="xdt" />
								<ext:Column Header="xs" Sortable="true" DataIndex="xs" />
								<ext:Column Header="xh" Sortable="true" DataIndex="xh" />
								<ext:Column Header="qt" Sortable="true" DataIndex="qt" />
								<ext:Column Header="jl" Sortable="true" DataIndex="jl" />

                            </Columns>
                        </ColumnModel>
                        <Listeners>
                            <RowDblClick Handler="SetWinData(rowIndex);" />
                        </Listeners>
                        <Plugins>
                            <ext:GridFilters runat="server" FiltersText="查找" ID="d01_tjxx_Filter">
                                <Filters>
                                    
								<ext:StringFilter DataIndex="dzbm" />
								<ext:StringFilter DataIndex="hbh" />
								<ext:StringFilter DataIndex="brxm" />
								<ext:StringFilter DataIndex="sfzh" />
								<ext:StringFilter DataIndex="ylzh" />
								<ext:StringFilter DataIndex="brxb" />
								<ext:StringFilter DataIndex="brnl" />
								<ext:StringFilter DataIndex="csrq" />
								<ext:StringFilter DataIndex="hyzk" />
								<ext:StringFilter DataIndex="mz" />
								<ext:StringFilter DataIndex="csd" />
								<ext:StringFilter DataIndex="szdq" />
								<ext:StringFilter DataIndex="jkzk" />
								<ext:StringFilter DataIndex="gzdw" />
								<ext:StringFilter DataIndex="zy" />
								<ext:StringFilter DataIndex="chsj" />
								<ext:StringFilter DataIndex="mzyl" />
								<ext:StringFilter DataIndex="zzbm" />
								<ext:StringFilter DataIndex="zycs" />
								<ext:StringFilter DataIndex="mblx1" />
								<ext:StringFilter DataIndex="mblx2" />
								<ext:StringFilter DataIndex="grs" />
								<ext:StringFilter DataIndex="dqzt" />
								<ext:StringFilter DataIndex="rcbz" />
								<ext:StringFilter DataIndex="rcsj" />
								<ext:StringFilter DataIndex="rqyy" />
								<ext:StringFilter DataIndex="sj" />
								<ext:StringFilter DataIndex="whcd" />
								<ext:StringFilter DataIndex="ear" />
								<ext:StringFilter DataIndex="earleft" />
								<ext:StringFilter DataIndex="earright" />
								<ext:StringFilter DataIndex="nk" />
								<ext:StringFilter DataIndex="xy" />
								<ext:StringFilter DataIndex="wk" />
								<ext:StringFilter DataIndex="sg" />
								<ext:StringFilter DataIndex="tz" />
								<ext:StringFilter DataIndex="xt" />
								<ext:StringFilter DataIndex="epk" />
								<ext:StringFilter DataIndex="kqk" />
								<ext:StringFilter DataIndex="xbts" />
								<ext:StringFilter DataIndex="bc" />
								<ext:StringFilter DataIndex="xdt" />
								<ext:StringFilter DataIndex="xs" />
								<ext:StringFilter DataIndex="xh" />
								<ext:StringFilter DataIndex="qt" />
								<ext:StringFilter DataIndex="jl" />

                                </Filters>
                            </ext:GridFilters>
                        </Plugins>
                        <LoadMask ShowMask="true" Msg="正在加载..." />
                        <SelectionModel>
                            <ext:CheckboxSelectionModel ID="CheckBoxGrid" runat="server" />
                        </SelectionModel>
                        <BottomBar>
                            <ext:PagingToolbar ID="PagingToolBar" StoreID="d01_tjxx_MainStore" PageSize="15" runat="server" />
                        </BottomBar>
                    </ext:GridPanel>
                </Items>
            </ext:FitLayout>
        </Items>
    </ext:Viewport>
    
    <!--d01_tjxx表修改，添加主窗体-->
    <ext:Window ID="d01_tjxx_Win" Collapsible="true" Hidden="true" Modal="true"
        Maximizable="true" runat="server" Title="添加/修改记录" Icon="WorldEdit" Width="630" AutoHeight="true"
        Resizable="true">
        <Items>
            <ext:Hidden ID="Hid" runat="server">
            </ext:Hidden>
            <ext:FormPanel ID="d01_tjxx_MainForm" LabelWidth="65" Frame="true" runat="server"
                Border="false" Height="720" Padding="5" Icon="UserAdd" Layout="Column">
                <Items>
                    <ext:Panel runat="server" Border="false" Header="false" ColumnWidth=".5" Layout="Form">
                        <Items>
                            
							<ext:TextField ID="Txtdzbm" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="dzbm" />
							<ext:TextField ID="Txtbrxm" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="brxm" />
							<ext:TextField ID="Txtylzh" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="ylzh" />
							<ext:TextField ID="Txtbrnl" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="brnl" />
							<ext:TextField ID="Txthyzk" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="hyzk" />
							<ext:TextField ID="Txtcsd" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="csd" />
							<ext:TextField ID="Txtjkzk" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="jkzk" />
							<ext:TextField ID="Txtzy" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="zy" />
							<ext:TextField ID="Txtmzyl" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="mzyl" />
							<ext:TextField ID="Txtzycs" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="zycs" />
							<ext:TextField ID="Txtmblx2" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="mblx2" />
							<ext:TextField ID="Txtdqzt" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="dqzt" />
							<ext:TextField ID="Txtrcsj" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="rcsj" />
							<ext:TextField ID="Txtsj" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="sj" />
							<ext:TextField ID="Txtear" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="ear" />
							<ext:TextField ID="Txtearright" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="earright" />
							<ext:TextField ID="Txtxy" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="xy" />
							<ext:TextField ID="Txtsg" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="sg" />
							<ext:TextField ID="Txtxt" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="xt" />
							<ext:TextField ID="Txtkqk" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="kqk" />
							<ext:TextField ID="Txtbc" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="bc" />
							<ext:TextField ID="Txtxs" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="xs" />
							<ext:TextField ID="Txtqt" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="qt" />

                        </Items>
                    </ext:Panel>
                    <ext:Panel runat="server" Border="false" Header="false" ColumnWidth=".5" Layout="Form">
                        <Items> 
                            
							<ext:TextField ID="Txthbh" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="hbh" />
							<ext:TextField ID="Txtsfzh" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="sfzh" />
							<ext:TextField ID="Txtbrxb" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="brxb" />
							<ext:TextField ID="Txtcsrq" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="csrq" />
							<ext:TextField ID="Txtmz" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="mz" />
							<ext:TextField ID="Txtszdq" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="szdq" />
							<ext:TextField ID="Txtgzdw" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="gzdw" />
							<ext:TextField ID="Txtchsj" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="chsj" />
							<ext:TextField ID="Txtzzbm" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="zzbm" />
							<ext:TextField ID="Txtmblx1" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="mblx1" />
							<ext:TextField ID="Txtgrs" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="grs" />
							<ext:TextField ID="Txtrcbz" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="rcbz" />
							<ext:TextField ID="Txtrqyy" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="rqyy" />
							<ext:TextField ID="Txtwhcd" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="whcd" />
							<ext:TextField ID="Txtearleft" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="earleft" />
							<ext:TextField ID="Txtnk" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="nk" />
							<ext:TextField ID="Txtwk" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="wk" />
							<ext:TextField ID="Txttz" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="tz" />
							<ext:TextField ID="Txtepk" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="epk" />
							<ext:TextField ID="Txtxbts" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="xbts" />
							<ext:TextField ID="Txtxdt" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="xdt" />
							<ext:TextField ID="Txtxh" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="xh" />
							<ext:TextField ID="Txtjl" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="jl" />

                        </Items>
                    </ext:Panel>
                </Items>
            </ext:FormPanel>
        </Items>
        <Buttons> 
            <ext:Button Text="提交" ID="BtnSave" runat="server" Icon="Disk">
                <DirectEvents>
                    <Click OnEvent="BtnSave_Click">
                        <EventMask ShowMask="true" Msg="正在提交，请等候 ..."  />
                    </Click>
                </DirectEvents>
                <Listeners>
                    <Click Handler="if (#{d01_tjxx_MainForm}.getForm().isValid()) {;}else{Ext.Msg.show({icon: Ext.MessageBox.ERROR, msg: '您填写的信息不正确，请您确认！', buttons:Ext.Msg.OK});return false;}" />
                </Listeners>
            </ext:Button>
            <ext:Button Text="取消" ID="BtnConcel" Icon="Delete">
                <Listeners>
                    <Click Handler="#{d01_tjxx_Win}.hide();" />
                </Listeners>
            </ext:Button>
        </Buttons>
    </ext:Window>
    </form>
</body>
</html>
